package com.codeduck.zk.provider.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: <a href="mailto:codeduck@163.com">Codeduck</a>
 * @createDate: 2022-01-07
 */
@RestController
public class IndexController {

    @GetMapping("/echo")
    public String echo(String name) {
        return "provider: " + name;
    }
}
